<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div id="app">
    {{ msg }}
    
    {{ parseInt('1.2345') }}

    <!-- {{ alert(1) }} -->
  </div>
  <script src="./vue.global.js"></script>
  <script>
    const a = '这是js变量';
    const { createApp } = Vue;
  
    const app = createApp({
      data() {
        return {
          msg: '这是vue',
          isShow: true
        }
      }
    })

  //  将应用程序 实例 渲染到 视图上
  // #app标签内部受  app控制 里面的数据就可以控制 #app内部标签
  app.mount('#app')
  </script>
</body>

</html>